﻿<!--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">-->

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>角色</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <script src="../../../../scripts/boot.js" type="text/javascript"></script>
    <style type="text/css">
        html, body {
            padding:0;
            margin:0;
            border:0;
            height:100%;
            overflow:hidden;
        }
    </style>
</head>
<body>    
    <!--表单信息修改/新增-->
    <form id="form1" method="post">
        <!--按钮-->
        <div style="text-align:left;padding:5px 10px;border: 1px solid #aed0ea;margin-bottom: 10px;">
            <a class="mini-button" onclick="onOk" style="width:60px;">确定</a>
            <a class="mini-button" onclick="onCancel" style="width:60px;">取消</a>
            <!--<input id="searchKey" class="mini-textbox" style="width:150px;" onenter="onKeyEnter"/>-->
            <!--<a class="mini-button" onclick="userInquire()">用户姓名查询</a>-->

        </div>
        <!--表单-->
        <input name="roleId" class="mini-hidden"/>
        <div style=" padding-left:11px;padding-bottom:5px;">
            <table style="table-layout:fixed;">
                <tr>
                    <td style="width:100%;white-space:nowrap;">
                    <a style="width:100px;text-align:right"><span style='color:red;vertical-align: middle;'> * </span>角色编码：</a>

                        <input id='roleCode' name="roleCode" class="mini-textbox" onBlur="findByRoleCode" onvalidation="onNotSpaceValidation"/>
                    </td>
                    <td style="width:150px;white-space:nowrap;">
                    <a style="width:100px;text-align:right"><span style='color:red;vertical-align: middle;'> * </span>角色名称：</a>

                        <input id='roleName' name="roleName" class="mini-textbox" onBlur="findByRoleName" onvalidation="onNotSpaceValidation"/>
                    </td>
                    <td style="width:150px;white-space:nowrap;">
                    <a style="width:100px;text-align:right">角色说明：</a>

                        <input name="roleDescribe" class="mini-textbox"/>
                    </td>
                </tr>
                <tr>
                    <td style="width:100%;white-space:nowrap;">
                        <a style="width:80px;text-align:center;padding-left:11px">分配用户↓</a>

                    </td>
                    <!--<td style="width:80%;white-space:nowrap;">-->
                    <!--</td>-->
                    <td style="white-space:nowrap;text-align: right">
                        <a class="mini-button"    onclick="userInquire()">用户姓名查询</a>
                        <input id="searchKey" class="mini-textbox" style="width:150px;text-align:right;" onenter="onKeyEnter"/>

                    </td>

                    <!--<td style="width:150px;">-->
                        <!--<input id="userId" name="userId" class="mini-buttonedit" onbuttonclick="changePar()"/>-->
                    <!--</td>-->
                    <!--<td style="width:100px;">角色ID：</td>-->
                    <!--<td style="width:150px;">-->
                        <!--<input name="roleId" class="mini-textbox"/>-->
                    <!--</td>-->
                </tr>
            </table>
        </div>
        <div style="text-align:left;border-top: 1px solid #aed0ea;margin-bottom: 10px;" >
            <div id="datagrid1" class="mini-datagrid" style="width:100%;height:70%;" multiSelect="true"
                 pageSize="20" showPager="false" allowUnselect='true'  >
                <div property="columns">
                    <!--<div type="indexcolumn"></div>-->
                    <div type="checkcolumn" ></div>
                    <div type="indexcolumn" headerAlign="center">序号</div>
                    <div field="userId" headerAlign="center" align="center">用户ID</div>
                    <div field="userCode" headerAlign="center" align="center">用户名称</div>
                    <div field="userName" width="120" headerAlign="center" align="center">账号编码</div>
                    <div field="uName" width="120" headerAlign="center" align="center">账号名称</div>
                </div>
            </div>
        </div>

    </form>



    <script src="alertjs/roleWin.js"></script>
</body>
</html>
